package com.system.demo.entity.database;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 类描述: 对应数据库中user表
 * @since 1.0
 * @author luodeng
 */

@Data
@TableName("`user`")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String uid;
    private String username;
    private String password;
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String mail;
    private String avatar;
    private LocalDateTime lastLoginTime;
}
